﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StudentMainPage.aspx.cs" Inherits="李晓霞web.StudentMainPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body style="height: 249px">
    <form id="form1" runat="server">
    <div style="background-image: url('Images/标准头.jpg'); height: 247px;">
    
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
    </div>
        <br />
        <div style="position: absolute; z-index: inherit; top: 262px; left: 517px; width: 625px; height: 330px; text-align: left;">
            <br />
            &nbsp;<br />
            &nbsp;&nbsp; ☞换个皮肤,换个心情<asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="True" style="margin-left: 5px">
                <asp:ListItem>灰暗色调</asp:ListItem>
                <asp:ListItem>浅蓝色调</asp:ListItem>
                <asp:ListItem>浅绿色调</asp:ListItem>
                <asp:ListItem>粉色色调</asp:ListItem>
                <asp:ListItem>紫色色调</asp:ListItem>
            </asp:DropDownList>
            &nbsp;&nbsp;&nbsp;&nbsp; ☞<asp:Label ID="lblStudent1" runat="server"></asp:Label>
            ☞<asp:Label ID="lblStudent2" runat="server"></asp:Label>
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Image ID="Image1" runat="server" Height="219px" ImageUrl="~/Images/学生主图片.jpg" Width="385px" />
        </div>
        <div style="position: absolute; z-index: auto; top: 264px; left: 9px; width: 503px; height: 325px; background-color: #669999;">
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☞
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/StudentInformation.aspx">进入个人空间</asp:HyperLink>
            <br />
            <br />
            &nbsp;&nbsp;
            <br />
            <br />
            <br />
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1">
                <Columns>
                    <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" />
                    <asp:BoundField DataField="公告标题" HeaderText="公告标题" SortExpression="公告标题" />
                    <asp:BoundField DataField="公告内容" HeaderText="公告内容" SortExpression="公告内容" />
                    <asp:BoundField DataField="公告时间" HeaderText="公告时间" SortExpression="公告时间" />
                </Columns>
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112106ConnectionString %>" SelectCommand="SELECT * FROM [新闻公告]"></asp:SqlDataSource>
            <br />
            <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br style="background-color: #009999" />
        </div>
    </form>
</body>
</html>
